// 获取当前前台应用的包名
let currentPackage = currentPackage();
console.log("当前应用包名:", currentPackage);

// 获取当前活动的Activity
let currentActivity = currentActivity();
console.log("当前Activity:", currentActivity);
